//
//  YWMaterialReturn.h
//  maintain
//
//  Created by 烟雨云渊 on 16/9/3.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YWMaterialStatus.h"

@class YWMaterialStockOut;
@class YWHandler;
@class YWMaterialApply;

@interface YWMaterialReturn : NSObject
/********    物料归还表        *********/
/* 物料单据关联ID */
@property (nonatomic, assign) NSInteger materialRelationId;
/* 归还单ID */
@property (nonatomic, assign) NSInteger returnId;
/* 楼盘ID */
@property (nonatomic, copy) NSString * buildingId;
/* 归还单号 */
@property (nonatomic, copy) NSString * returnSequence;
/* 物料清单 */
@property (nonatomic, strong) NSArray * details;
/* 回复列表 */
@property (nonatomic, strong) NSArray * replies;
/* 归还人 */
@property (nonatomic, strong) YWHandler * returner;
/* 接收人(仓管) */
@property (nonatomic, strong) YWHandler * creator;
/* 抄送人数组 */
@property (nonatomic, strong) NSArray * observers;
/* 抄送人id数组 （逗号隔开）*/
@property (nonatomic, copy) NSString * carbonCopyIds;
/* 领用单对象 */
@property (nonatomic, strong)  YWMaterialStockOut * materialStockOut;
/* 备注 */
@property (nonatomic, copy) NSString * note;
/* 关联单号 */
@property (nonatomic, copy) NSString * linkSequence;
/* 创建时间 */
@property (nonatomic, assign) NSTimeInterval createTime;
/* 归还时间 */
@property (nonatomic, assign) NSTimeInterval returnTime;
/* 年月日（2016年10月13日），用于界面分组 */
@property (nonatomic, copy) NSString * yearMonthDay;
/* 归还状态 */
@property (nonatomic, assign) YWMaterialStatu returnStatus;
/* 更新时间 */
@property (nonatomic, assign) NSTimeInterval updateTime;
/* 数据状态 */
@property (nonatomic, assign) YWMaterialDataStatus status;
@end
